<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>jQuery WeUI</title>

    <link rel="stylesheet" href="__PUBLIC__/static/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="__PUBLIC__/static/jquery-weui/css/jquery-weui.css">

    <link rel="stylesheet" href="__PUBLIC__/static/bootstrap/css/bootstrap.min.css">

    <script src="__PUBLIC__/static/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="__PUBLIC__/static/jquery-weui/js/jquery-weui.js"></script>

    <script src="__PUBLIC__/static/jquery-weui/js/swiper.js"></script>
    <style>
        .weui_cell {
            background: #CCCDCF;
        }

        .weui_cell:before {
            content: " ";
            position: absolute;
            left: 0;
            right: 0;
            width: auto;
        }

        .movie_point {
            color: red;
        }

        .btn {
            width: 100%;
            height: 50px;
        }
    </style>
</head>
<body>
    <div class="weui_cell">
        <div class="weui_cell_hd"><img style="width: 100px;height:130px;" src="__ROOT__{$res['cover']}">
        </div>
        <div class="weui_cell_bd weui_cell_primary">
            <p class="movie-name">{$res[name]}</p>
            <p class="movie_point">{$res['score']}分</p>
            <p class="movie-summary">{$res['tags']}</p>
            <p class="movie-description">{:date('Y年m月d日',$res['release_at'])}上映|{$res['long']}分钟</p>
        </div>
    </div>
    <div>
        <div>{$res['description']}</div>
    </div>
    <div class="weui_tabbar">
        <a href="{:U('Movie/index',['id'=>$res['id'],'time'=>date('md')])}" class="weui_btn weui_btn_primary" style="width:100%;">立即购票</a>
    </div>
</body>
</html>